package com.microservice.postservice.entity.vo;

import com.microservice.commonutils.userVo.UserInfoVo;
import com.microservice.postservice.entity.PostImage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class PostContentImageVo {
    @ApiModelProperty(value = "贴子id")
    private String id;

    UserInfoVo userInfoVo;

    @ApiModelProperty(value = "贴子内容")
    private String content;

    @ApiModelProperty(value = "点赞")
    private Integer likes;

    @ApiModelProperty(value = "收藏")
    private Integer collect;

    @ApiModelProperty(value = "是否有图片 1（true）有图片，  0（false）没图片")
    private Boolean isPicture;

    @ApiModelProperty(value = "是否禁用 1（true）已禁用，  0（false）未禁用")
    private Boolean isDisabled;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;
    private List<PostImage> postImageList=new ArrayList<>();

 }
